home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 684 / 684.xpi / chrome / fireftp.jar / content / programs.xul < prev    next >
Extensible Markup Language  |  2008-01-12  |  3KB  |  78 lines

  1. <?xml version="1.0"?>
  2.  
  3. <?xml-stylesheet href="chrome://global/skin/global.css"   type="text/css"?>
  4. <?xml-stylesheet href="chrome://fireftp/skin/fireftp.css" type="text/css"?>
  5.  
  6. <!DOCTYPE dialog SYSTEM "chrome://fireftp/locale/programs.dtd">
  7. <dialog id             = "programsDialog2"
  8.         title          = "&title;"
  9.         persist        = "screenX screenY"
  10.         xmlns          = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  11.         buttons        = "accept, cancel"
  12.         onload         = "init()"
  13.         ondialogaccept = "return savePrograms();">
  14.  
  15.   <stringbundle id="strings" src="chrome://fireftp/locale/strings.properties"/>
  16.  
  17.   <script type="application/x-javascript" src="chrome://fireftp/content/js/etc/common.js"/>
  18.   <script type="application/x-javascript" src="chrome://fireftp/content/js/dialogs/programs.js"/>
  19.  
  20.   <vbox flex="1">
  21.     <hbox>
  22.       <groupbox   flex="1">
  23.         <caption  label="&extensions.label;"/>
  24.         <listbox  id="extensions" onselect="loadPrograms()"/>
  25.         <hbox     pack="center">
  26.           <button                label="&add.label;"    accesskey="&adde.accesskey;"    oncommand="addExtension()"/>
  27.           <button id="removeext" label="&remove.label;" accesskey="&removee.accesskey;" oncommand="removeExtension()"/>
  28.         </hbox>
  29.       </groupbox>
  30.       <groupbox   flex="1">
  31.         <caption  label="&programs.label;"/>
  32.         <listbox  id="program"    onselect="loadProgramDetails()"/>
  33.         <hbox     pack="center">
  34.           <button id="addp"    label="&add.label;"    accesskey="&addp.accesskey;"    oncommand="addProgram()"/>
  35.           <button id="removep" label="&remove.label;" accesskey="&removep.accesskey;" oncommand="removeProgram()"/>
  36.         </hbox>
  37.       </groupbox>
  38.     </hbox>
  39.     <groupbox>
  40.       <caption label="&details.label;"/>
  41.       <grid>
  42.         <columns>
  43.           <column/>
  44.           <column  flex="1"/>
  45.         </columns>
  46.         <rows id="main">
  47.           <row align="center">
  48.             <label     id="namelabel"       value="&name.label;"    accesskey="&name.accesskey;"   control="name"/>
  49.             <textbox   id="name"            flex="1"                class="required"/>
  50.           </row>
  51.           <row align="center">
  52.             <label     id="executablelabel" value="&exec.label;"    accesskey="&exec.accesskey;"   control="executable"/>
  53.             <hbox>
  54.               <textbox id="executable"      flex="1"                class="required"/>
  55.               <button  id="browse"          label="&browse.label;"  accesskey="&browse.accesskey;" oncommand="browseLocal()"/>
  56.             </hbox>
  57.           </row>
  58.           <row align="center">
  59.             <label     id="argumentslabel"  value="&args.label;"    accesskey="&args.accesskey;"   control="arguments"/>
  60.             <textbox   id="arguments"       flex="1"/>
  61.           </row>
  62.           <row>
  63.             <spacer/>
  64.             <box>
  65.               <vbox flex="1">
  66.                 <label id="argshelp1" value="&argshelp1.label;"/>
  67.                 <label id="argshelp2" value="&argshelp2.label;"/>
  68.               </vbox>
  69.               <button id="apply" label="&apply.label;" accesskey="&apply.accesskey;" oncommand="apply()"/>
  70.             </box>
  71.           </row>
  72.         </rows>
  73.       </grid>
  74.     </groupbox>
  75.   </vbox>
  76.  
  77. </dialog>
  78.